﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Freya
{
    /// <summary>
    /// 工作流程中单一流程的处理单元
    /// </summary>
    public abstract class Unit
    {
        /// <summary>
        /// 执行该流程
        /// </summary>
        /// <param name="value">上一流程处理后的对象</param>
        /// <returns>该流程处理完成后的对象</returns>
        public abstract object Execute(object value);
    }
}
